package com.taobao.machinesystem.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.taobao.machinesystem.entity.McInspect;
import com.baomidou.mybatisplus.extension.service.IService;
import com.taobao.machinesystem.entity.vo.McInspectQueryVo;

/**
 * <p>
 * 单次巡查表 服务类
 * </p>
 *
 * @author LiuJunCheng
 * @since 2022-04-22
 */
public interface McInspectService extends IService<McInspect> {
    /**
     * list查询
     * @param currentPage
     * @param size
     * @param mcInspectQueryVo
     * @return Page<McInspect>
     */
    Page<McInspect> listMcInspect(Integer currentPage, Integer size, McInspectQueryVo mcInspectQueryVo);

    /**
     * 创建单次巡查 并且保存通讯录 （可更改信息）
     * @param mcInspect
     * @return boolean
     */
    boolean createMcInspect(McInspect mcInspect);
}
